package com.zzj.bean;

import java.io.Serializable;
import java.util.List;

public class UserBean implements Serializable {

  private Integer uid;
  private String uname;
  private String upassword;
  private String ustate;
  private String utime;
  private String usecurity;
  private String uanswer;

  private List<RoleBean> roles;

  public List<RoleBean> getRoles() {
    return roles;
  }

  public void setRoles(List<RoleBean> roles) {
    this.roles = roles;
  }

  public Integer getUid() {
    return uid;
  }

  public void setUid(Integer uid) {
    this.uid = uid;
  }


  public String getUname() {
    return uname;
  }

  public void setUname(String uname) {
    this.uname = uname;
  }


  public String getUpassword() {
    return upassword;
  }

  public void setUpassword(String upassword) {
    this.upassword = upassword;
  }


  public String getUstate() {
    return ustate;
  }

  public void setUstate(String ustate) {
    this.ustate = ustate;
  }


  public String getUtime() {
    return utime;
  }

  public void setUtime(String utime) {
    this.utime = utime;
  }


  public String getUsecurity() {
    return usecurity;
  }

  public void setUsecurity(String usecurity) {
    this.usecurity = usecurity;
  }


  public String getUanswer() {
    return uanswer;
  }

  public void setUanswer(String uanswer) {
    this.uanswer = uanswer;
  }

  @Override
  public String toString() {
    return "UserBean{" +
            "uid=" + uid +
            ", uname='" + uname + '\'' +
            ", upassword='" + upassword + '\'' +
            ", ustate='" + ustate + '\'' +
            ", utime='" + utime + '\'' +
            ", usecurity='" + usecurity + '\'' +
            ", uanswer='" + uanswer + '\'' +
            '}';
  }
}
